<?php

namespace app\validate;

use think\Validate;

class ClueUPersonList extends Validate
{
    protected $rule = [
        'is_zd|重点客户' => 'requireWith:is_zd|number',
        'zd_start_date|开始设置时间' => 'requireWith:zd_start_date',
        'zd_end_date|结束设置时间' => 'requireWith:zd_end_date',
        'person_name|人才姓名' => 'requireWith:person_name',
        'person_id_card|身份证号' => 'requireWith:person_id_card',
        'mobile|联系电话' => 'requireWith:mobile',
        'certificate_leibie|证书类别' => 'requireWith:certificate_leibie',
        'certificate_leixing|证书类型' => 'requireWith:certificate_leixing',
        'certificate_dengji|证书等级' => 'requireWith:certificate_dengji',
        'certificate_zhuanye|证书专业' => 'requireWith:certificate_zhuanye',
        'project|项目' => 'requireWith:project',
        'certificate_period_of_start_validity|证书有效期开始' => 'requireWith:certificate_period_of_start_validity',
        'certificate_period_of_end_validity|证书有效期结束' => 'requireWith:certificate_period_of_end_validity',
        'certificate_b|b证' => 'requireWith:certificate_b',
        'certificate_b_period_of_validity_start|b证有效期开始' => 'requireWith:certificate_b_period_of_validity_start',
        'certificate_b_period_of_validity_end|b证有效期结束' => 'requireWith:certificate_b_period_of_validity_end',
        'social_security|社保' => 'requireWith:social_security',
        'other_certificate|其它证书' => 'requireWith:other_certificate',
        'create_start_date|开始创建时间' => 'requireWith:create_start_date',
        'create_end_date|结束创建时间' => 'requireWith:create_end_date',
        'allocation_start_date|开始分配时间' => 'requireWith:allocation_start_date',
        'allocation_end_date|结束分配时间' => 'requireWith:allocation_end_date',
        'communication_start_date|开始沟通时间' => 'requireWith:communication_start_date',
        'communication_end_date|结束沟通时间' => 'requireWith:communication_end_date',
        'next_start_communicate_date|开始下次沟通时间' => 'requireWith:next_start_communicate_date',
        'next_end_communicate_date|结束下次沟通时间' => 'requireWith:next_end_communicate_date',
        'communicate_content|沟通记录' => 'requireWith:communicate_content',
        'certificate_log_off_start|证书注销时间开始' => 'requireWith:certificate_log_off_start',
        'certificate_log_off_end|证书注销时间结束' => 'requireWith:certificate_log_off_end',
        'is_wx|是否添加企业微信' => 'requireWith:is_wx',
        'become_start_due|开始他人合作到期时间' => 'requireWith:become_start_due',
        'become_end_due|结束他人合作到期时间' => 'requireWith:become_end_due',
        'notes|备注' => 'requireWith:notes',
        'f_uid|负责人' => 'requireWith:f_uid',
        'status|订单状态' => 'requireWith:status',
        'is_f|是否分配' => 'requireWith:is_f',
    ];
}